package cn.tedu.eguser1.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;
@Data
public class UserAddParam {
    @Schema(description = "用户姓名",required = true,example ="周杰伦")
    @Size(min = 6,max = 12,message = "用户姓名长度在6-12之间")
    private String username;
    @Schema(description = "用户密码",required = true,example ="123456")
    private String password;
    @Schema(description = "用户昵称",required = true,example ="jay")
    private String nickname;


}
